import java.util.Arrays; 
public class Run
{
    int[] arr;
    int len;
    public void circle(int[] arr)//形参录入，无返回值
    {
        System.out.println("The array before the reverse order is" + Arrays.toString(arr));
        //int len;
        int temp;
        int half;
        half = len / 2;
        if (half % 2 == 0)
        {
            for(int i = 0; i < half; i++) 
            {
                temp = arr[i];
                arr[i] = arr[arr.length - 1 - i];
                arr[arr.length - 1 - i] = temp;
            }
        }
        if (half % 2 != 0)
        {
            for (int i = 0; i < (half - 1) ; i++) 
            {
                temp = arr[i];
                arr[i] = arr[arr.length - 1 - i];
                arr[arr.length - 1 - i] = temp;
            }
        }
        System.out.println("The array after the reverse order is" + Arrays.toString(arr));
    }
}